﻿using System;
using BinarySerialization;

namespace EditMode
{
    public enum HandShape
    {
        開いた手 = 0x00,
        閉じた手 = 0x01,
        通常 = 0x02,
        ピース = 0x03,
        ネギ持ち = 0x04,
        グッド = 0x05,
        一本指差し = 0x06,
        自然 = 0x07,
        三本指立て = 0x0A,
        手刀 = 0x0F,
        リセット = 0x0E,
        グー = 0x10,
        ハート = 0x11,
        パー = 0x12,
        指鉄砲_2本 = 0x13,
        指鉄砲_1本 = 0x14,
        つまむ = 0x15,
        オーケー = 0x16,
        キツネ = 0x17,
        手の器 = 0x18,
    }

    /// <summary>
    /// Change edit player hand position instruction. 
    /// </summary> 
    [Serializable]
    public class PlayerHand
    {
        [FieldOrder(0)]
        public uint Time { get; set; }

        [FieldOrder(1)]
        public byte Unknown1 { get; set; }

        [FieldOrder(2)]
        public byte Unknown2 { get; set; }

        [FieldOrder(3)]
        public byte Unknown3 { get; set; }

        [FieldOrder(4)]
        public byte Unknown4 { get; set; }

        [FieldOrder(5)]
        public HandShape HandID { get; set; }

        [FieldOrder(6)]
        public uint Interpolation { get; set; }
    }
}